// checks for correct #undef
#ifdef P
	#error P must be undefined
#endif

#ifdef R 
	#error R must be undefined
#endif

#ifdef S 
	#error S must be undefined
#endif

#define P 0xF000
#define R 0x9000

unsigned short RCircle[81] = {
	0,0,0,P,P,P,0,0,0,
	0,0,P,P,P,P,P,0,0,
	0,P,P,P,P,P,P,P,0,
	P,P,P,P,P,P,P,P,R,
	P,P,P,P,P,P,P,P,R,
	P,P,P,P,P,P,P,P,R,
	0,P,P,P,P,P,P,R,0,
	0,0,P,P,P,P,R,0,0,
	0,0,0,R,R,R,0,0,0};

#undef P
#undef R

#define P 0xFFFE0000
#define R 0xFF990000

unsigned int RCircle32[81] = {
	0,0,0,P,P,P,0,0,0,
	0,0,P,P,P,P,P,0,0,
	0,P,P,P,P,P,P,P,0,
	P,P,P,P,P,P,P,P,R,
	P,P,P,P,P,P,P,P,R,
	P,P,P,P,P,P,P,P,R,
	0,P,P,P,P,P,P,R,0,
	0,0,P,P,P,P,R,0,0,
	0,0,0,R,R,R,0,0,0};

#undef P
#undef R

#define P 0xffff
#define R 0x9bef
#define S 0x8bef

unsigned short FCDigit[1040] = { //720
	0,0,0,0,0,0,
	0,0,0,0,0,0,
	0,P,P,P,P,0,
	0,0,0,0,0,0,
	0,0,0,0,0,0,

	0,0,0,0,0,0,
	0,0,0,0,0,0,
	0,0,0,0,0,0,
	0,0,P,0,0,0,
	0,0,0,0,0,0,

	0,0,0,0,P,0,
	0,0,0,P,0,0,
	0,0,P,0,0,0,
	0,P,0,0,0,0,
	P,0,0,0,0,0,

	0,P,P,P,0,0,
	P,0,0,P,P,0,
	P,0,P,0,P,0,
	P,P,0,0,P,0,
	0,P,P,P,0,0,

	0,P,P,P,0,0,
	0,0,P,P,0,0,
	0,0,P,P,0,0,
	0,0,P,P,0,0,
	0,P,P,P,P,0,

	0,P,P,P,0,0,
	P,0,0,P,P,0,
	0,0,P,P,0,0,
	0,P,P,0,0,0,
	P,P,P,P,P,0,

	P,P,P,P,0,0,
	0,0,0,P,P,0,
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